﻿using System.Web.Security;

namespace Web.Core.Extensions
{
    public static class StringExtension
    {
        public static string HashPassword(this string target)
        {
            return FormsAuthentication.HashPasswordForStoringInConfigFile(target, "MD5");
        } 
    }
}